package com.fita.admin.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.entity.order.OrderSpecialEquipment;

import java.util.List;

@Dao("hibernate")
public interface OrderSpecialEquipmentDao {

	@Query("FROM OrderSpecialEquipment WHERE disabled = false AND order.id = :id")
	public List<OrderSpecialEquipment> list(@Variable("id") Long id);
}
